package tools;

import java.sql.Connection;
import java.sql.DriverManager;

public class DBUtil {
	public  Connection getConnection(){
		Connection conn=null;
		try{
			Class.forName("org.mariadb.jdbc.Driver");
			conn=DriverManager.getConnection("jdbc:mariadb://vpn.lathyrus.love:3306/work","root","root");
			return conn;
		}catch(Exception e){
			e.printStackTrace();
		}
		return null;
	}
}
